package db

const TableNameChamberConfig = TablePrefix + "chamber_config"

type ChamberConfig struct {
	BaseModel
	Name      string `gorm:"column:name;type:varchar(100);default:'';comment:名称" json:"name" form:"name"` // 名称
	Level     int    `gorm:"column:level;type:int(5);default:0;comment:等级" json:"level" form:"level"`     // 等级
	Profit    int64  `gorm:"column:profit;type:int(10);default:0;comment:收益" json:"profit" form:"profit"`
	LowerRate int64  `gorm:"column:lower_rate;type:int(10);default:0;comment:收益" json:"lowerRate" form:"lowerRate"`
}

func (*ChamberConfig) TableName() string {
	return TableNameChamberConfig
}
